﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example.Persistence
{
    public interface IEntitySet<TEntity> : IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable where TEntity : class
    {
        TEntity Add(TEntity entity);

        TEntity Remove(TEntity entity);

        IQueryable<TEntity> Include(string path);
    }
}
